package com.code.softeem.lianxi.demo3;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/20 15:21
 * @description
 */
public class ptyg extends emp{
    public ptyg(String name, String id, double money) {
        super(name, id, money);
    }

    public ptyg() {
    }

    @Override
    public void jsgz() {
        double niangz = getMoney()*12;
        System.out.println(getName()+"普通员工年薪为："+niangz);
    }
}
